#include<stdio.h>

int main()
{
    double ratio, luohi, distance, times;
    int property;
    scanf("%lf %d %lf", &ratio, &property, &distance);

    if(property == 1)
    {
        times = 1.26;
    }
    if(property == 0)
    {
        times = 2.455;
    }
    luohi = ratio * times;
    if(luohi <= distance)
    {
        printf("%.2f ^_^", luohi);
    }
    else
    {
        printf("%.2f T_T", luohi);
    }

    return 0;
}

